package com.blockmeta.bbs.immodule.bean;

import com.blockmeta.bbs.businesslibrary.baselist.BaseBean;
import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

public class LibraryBookBean extends BaseBean {

    public ResultBean data;


    public class ResultBean{
        public int total;

        public ArrayList<DataBean> list;

        public class DataBean{
            /**
             * docid : 3601
             * title : 基于Go-Ethereum构建DPOS机制下的区块链
             * short : 基于Go-Ethereum构建DPOS机制下的区块链
             * cover_img : https://bbtcdn.8btc.com/source/plugin/doc/data/201905/31/1559284329277/1.png
             * key : ["Go-Ethereum","DPOS"]
             * userid : 58
             * username : 等一轮残月
             * avatar : https://appserversrc.8btc.com/newthread/201903051354281.jpeg
             * uploaddate : 2019-05-31
             * viewcount : 11
             * downcount : 0
             */

            @SerializedName("docid")
            private int docid;
            @SerializedName("title")
            private String title;
            @SerializedName("short")
            private String shortX;
            @SerializedName("cover_img")
            private String coverImg;
            @SerializedName("userid")
            private int userid;
            @SerializedName("username")
            private String username;
            @SerializedName("avatar")
            private String avatar;
            @SerializedName("uploaddate")
            private String uploaddate;
            @SerializedName("doc_path")
            private String docPath;
            @SerializedName("docsize")
            private int docSize;
            @SerializedName("viewcount")
            private int viewcount;
            @SerializedName("downcount")
            private int downcount;
            @SerializedName("key")
            private List<String> key;

            public int getDocid() {
                return docid;
            }

            public void setDocid(int docid) {
                this.docid = docid;
            }

            public String getDocPath() {
                return docPath;
            }

            public void setDocPath(String docPath) {
                this.docPath = docPath;
            }

            public int getDocSize() {
                return docSize;
            }

            public void setDocSize(int docSize) {
                this.docSize = docSize;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getShortX() {
                return shortX;
            }

            public void setShortX(String shortX) {
                this.shortX = shortX;
            }

            public String getCoverImg() {
                return coverImg;
            }

            public void setCoverImg(String coverImg) {
                this.coverImg = coverImg;
            }

            public int getUserid() {
                return userid;
            }

            public void setUserid(int userid) {
                this.userid = userid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getUploaddate() {
                return uploaddate;
            }

            public void setUploaddate(String uploaddate) {
                this.uploaddate = uploaddate;
            }

            public int getViewcount() {
                return viewcount;
            }

            public void setViewcount(int viewcount) {
                this.viewcount = viewcount;
            }

            public int getDowncount() {
                return downcount;
            }

            public void setDowncount(int downcount) {
                this.downcount = downcount;
            }

            public List<String> getKey() {
                return key;
            }

            public void setKey(List<String> key) {
                this.key = key;
            }
        }
    }


}

